package com.cn.kehong.api;

import com.cn.kehong.domain.PlanMoth;
import com.cn.kehong.domain.PlanMothVo;
import com.cn.kehong.utils.QueryForm;

import java.util.List;

public interface IPlanMothService {
    List<PlanMoth> getPlanMothList(QueryForm queryForm)throws Exception;

    List<PlanMothVo> getCurrentYearPlanMothList()throws Exception;

    List<PlanMoth> getAllYearPlanMothList(QueryForm queryForm)throws Exception;

    PlanMoth getCurrentPlanMoth()throws Exception;

    String addPlanMoth(PlanMoth planMoth)throws Exception;

    String updatePlanMothVersion(PlanMoth planMoth)throws Exception;

    String updatePlanMoth(PlanMoth planMoth)throws Exception;
    String updateCheckPlanMoth(PlanMoth planMoth)throws Exception;

    String deletePlanMothById(String id)throws Exception;

    int getCheckPlanMothCount()throws Exception;

    //获取当天的计划产能
    String getPlanMothDayValue(QueryForm queryForm) throws Exception;

    String isHavingMoth(String month)throws Exception;

    List<PlanMoth> getPlanMothDayPlans()throws Exception;
}
